<?php //debug($nivel);  ?>
<div class="formSep">
    <h3 class="heading">Asignar Alumnos al padre o tutor</h3>
    <h3><?php echo $padre['Padre']['nombre']; ?>&nbsp; <?php echo $padre['Padre']['ap_paterno']; ?>&nbsp; <?php echo $padre['Padre']['ap_materno']; ?></h3> 
    <div class="row-fluid">
        <div class="span6">			
            <p>
                <span class="label label-inverse">
                    Seleccione los alumnos a su cargo
                </span>
            </p>

            <?php echo $this->Form->create('Padres', array('id' => 'searchable-form')); ?>				
            <select name="alumnos[]" multiple="multiple" id="searchable-select">
                <option value="">
                </option>					
                <?php foreach ($alumnos as $alumno): ?>
                    <option value="<?php echo $alumno['Alumno']['id']; ?>">
                        <?php echo $alumno['Alumno']['ap_paterno']; ?>&nbsp;<?php echo $alumno['Alumno']['ap_materno']; ?>&nbsp;<?php echo $alumno['Alumno']['nombre']; ?>
                    </option>    
                <?php endforeach; ?>
            </select>
        </div>
    </div>
    <div class="form-actions">
        <button class="btn btn-success" type="submit">
            Guardar Alumnos
        </button>
    </div>
</form>
</div>
<!-- sidebar -->
<?php echo $this->
        element('sidebar/padres');
?>
<!-- fin sidebar -->
<?php //llamamos scripts tablas ?>
<?php echo $this->
        element('jsformularios');
?>